package router

import (
	"github.com/gin-gonic/gin"
	"likeadmin/scyMachineClass"
)

//var scyModuleName = "scy"

func SetScyMachineClassRouter(r *gin.Engine) *gin.Engine {

	r.POST("/"+scyModuleName+"/createScyMachineClass", scyMachineClass.CreateScyMachineClass)
	r.POST("/"+scyModuleName+"/updateScyMachineClass", scyMachineClass.UpdateScyMachineClass)
	r.POST("/"+scyModuleName+"/deleteScyMachineClass", scyMachineClass.DeleteScyMachineClass)
	r.POST("/"+scyModuleName+"/getScyMachineClassList", scyMachineClass.GetScyMachineClassList)

	return r
}
